package com.whiteape.book.contract;


import com.whiteape.book.core.page.TxtChapter;
import com.whiteape.book.model.dto.CollectionMediaBean;
import com.whiteape.book.model.dto.MediaChapterBean;
import com.whiteape.book.model.dto.SiteSourceBean;
import com.whiteape.book.ui.base.BaseContract;

import java.util.List;

/**
 * Created by newbiechen on 17-5-16.
 */

public interface MediaDownloadContract extends BaseContract {
    interface View extends BaseView {
        void showCatqlot(List<MediaChapterBean> bookChapterList);
        void finishChapter();
        void errorChapter();
    }

    interface Presenter extends BasePresenter<View>{
        void loadCategory(SiteSourceBean siteSourceBean, CollectionMediaBean book);
        void loadChapter(SiteSourceBean siteSourceBean, String bookId, List<TxtChapter> bookChapterList);
    }
}
